.cate {
    display: flex;
    .left {
        flex: 2;
        height: calc(100vh - 55px);
    }
    .right {
        flex: 8;
        height: calc(100vh - 55px);
        .lists {
            background: #fff;
            .item {
                display: flex;
                margin: 10px;
                .img {
                    width: 108px;
                    height: 108px;
                    image {
                        width: 100%;
                        height: 100%;
                    }
                }
                .text {
                    flex: 1;
                    overflow: hidden;
                    .title {
                        width: 65%;
                        font-size: 26rpx;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                        font-size: 14px;
                        color: #323232;
                    }
                    .desc {
                        width: 65%;
                        font-size: 12px!important;
                        color: #969799;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                        font-size: 14px;
                    }
                    .box {
                        font-size: 12px;
                        padding: 0 4px;
                        color: #cf0000;
                        background-color: rgb(253, 242, 242);
                        display: inline-block;
                    }
                    .price {
                        width: 65%;
                        color: #fc000d;
                        font-size: 18px;
                        font-weight: 700;
                        display: flex;
                        justify-content: space-between;
                        .addcart {
                            width: 40rpx;
                            height: 40rpx;
                            margin-right: 10px;
                            image {
                                width: 100%;
                                height: 100%;
                            }
                        }
                    }
                    .extra {
                        margin: 4px 0 4px;
                        overflow: hidden;
                        font-size: 10px;
                        line-height: 12px;
                        height: 12px;
                        white-space: nowrap;
                        text-overflow: ellipsis;
                        color: #999;
                    }
                }
            }
        }
    }
}
.popup {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.cart {
    padding-top: 20px;
    .top {
        margin: 0 16px;
        height: 120px;
        width: 100%;
        display: flex;
        align-items: center;
        .img {
            width: 96px;
            height: 96px;
            margin :auto 0;
            image {
                width: 100%;
                height: 100%;
            }
        }
        .detail {
            .price {
                font-size: 22px;
                color: #fc000d;
            }
            .box {
                font-size: 12px;
                padding: 0 4px;
                color: #cf0000;
                background-color: rgb(253, 242, 242);
                display: inline-block;
                margin-left: 10px;
            }
            .reper {
                display: inline-block;
                margin-right: 8px;
                color: #969799;
                font-size: 12px;
            }
        }
    }
    .line {
        width: 90%;
        height: 2px;
        background: #eee;
        margin: 0 auto;
    }
    .count {
        width: 100%;
        height: 40px;
        padding: 0 15px;
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;
        align-items: center;
        .title {
            font-size: 15px;
            color: #333;
        }
        .btn {
            display: flex;
            align-items: center;
            .minus .add .num {
                display: block;
                background-color: #eee;
                width: 40rpx;
                height: 40rpx;
                text-align: center;
                line-height: 40rpx;
                color: #333;
                i {
                    font-size: 40rpx;
                }
            }
        }
    }
    .addBox {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 15px 20px;
        box-sizing: border-box;
        margin-top: 50px;
        border-radius: 20px!important;
        overflow: hidden!important;
        .addbtn {
            display: block;
            width: 50%;
            height: 100%;
        }
        .buybtn {
            display: block;
            width: 50%;
            height: 100%;
        }
    }
}